package com.myschool.server.model;

import java.util.List;

public class Json<T> {

	public int page;
	public int record;
	public int total;
	public Rows[] rows;
	private List<T> rowList;

	/**
	 * @return the page
	 */
	public int getPage() {
		return page;
	}

	/**
	 * @param page
	 *            the page to set
	 */
	public void setPage(int page) {
		this.page = page;
	}

	/**
	 * @return the record
	 */
	public int getRecord() {
		return record;
	}

	/**
	 * @param record
	 *            the record to set
	 */
	public void setRecord(int record) {
		this.record = record;
	}

	/**
	 * @return the total
	 */
	public int getTotal() {
		return total;
	}

	/**
	 * @param total
	 *            the total to set
	 */
	public void setTotal(int total) {
		this.total = total;
	}

	/**
	 * @return the rows
	 */
	public Rows[] getRows() {
		return rows;
	}

	/**
	 * @param rows
	 *            the rows to set
	 */
	public void setRows(Rows[] rows) {
		this.rows = rows;
	}

	/**
	 * @return the rowList
	 */
	public List<T> getRowList() {
		return rowList;
	}

	/**
	 * @param rowList
	 *            the rowList to set
	 */
	public void setRowList(List<T> rowList) {
		this.rowList = rowList;
	}
}
